package com.gui.hospital.feign;


import com.gui.hospital.model.Doctor;
import com.gui.hospital.model.Hospital;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author 言叶
 * Date：2025/9/3
 */
@FeignClient(value = "hospital" , contextId = "doctorFeign")
public interface DoctorFeign {
    @GetMapping("doctor/getById/{id}")
    Doctor getById(@PathVariable("id") Integer id);
}
